package com.naton.common.ui;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.viewbinding.ViewBinding;

/**
 * viewbinding
 */
public class BaseVBActivity<VB extends ViewBinding>  extends AppCompatActivity {

    protected VB mBinding;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mBinding = ViewBindingCreator.createViewBinding(getClass(), getLayoutInflater());
        setContentView(mBinding.getRoot());
    }
}
